.wave-chart-demo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

h2 {
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

h3 {
  color: #444;
  margin: 20px 0 15px;
  border-left: 4px solid #1890ff;
  padding-left: 10px;
}

h4 {
  color: #555;
  margin: 15px 0 10px;
}

.intro {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #1890ff;
}

.intro p {
  margin: 0;
  line-height: 1.6;
  color: #555;
}

.chart-section {
  margin: 30px 0;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.chart-container {
  position: relative;
  height: 400px;
  margin: 20px 0;
}

.echarts-container {
  width: 100%;
  height: 100%;
}

.chart-legend {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.legend-item {
  display: flex;
  align-items: center;
  margin: 0 15px;
}

.legend-color {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  border-radius: 3px;
}

.legend-completed {
  background: linear-gradient(to bottom, rgba(24, 144, 255, 0.8), rgba(9, 109, 217, 0.4));
}

.legend-uncompleted {
  background-color: #f0f0f0;
  border: 1px solid #ddd;
}

.legend-text {
  font-size: 14px;
  color: #666;
}

.implementation-details {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0;
  gap: 20px;
}

.code-details, .advantages {
  flex: 1;
  min-width: 300px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.code-details {
  border-left: 4px solid #722ed1;
}

.advantages {
  border-left: 4px solid #52c41a;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
  color: #555;
}

@media (max-width: 768px) {
  .implementation-details {
    flex-direction: column;
  }
  
  .chart-container {
    height: 300px;
  }
}
